package b.l.a;

import androidx.fragment.app.Fragment;
import b.n.d.b;
import java.util.ArrayList;

/* compiled from: FragmentTransaction */
public abstract class p {
    public ArrayList<a> a = new ArrayList();
    public int b;
    public int c;
    public int d;
    public int e;
    public int f;
    public int g;
    public boolean h;
    public String i;
    public int j;
    public CharSequence k;
    public int l;
    public CharSequence m;
    public ArrayList<String> n;
    public ArrayList<String> o;
    public boolean p = false;

    /* compiled from: FragmentTransaction */
    public static final class a {
        public int a;
        public Fragment b;
        public int c;
        public int d;
        public int e;
        public int f;
        public b g;
        public b h;

        public a(int i, Fragment fragment) {
            this.a = i;
            this.b = fragment;
            b bVar = b.RESUMED;
            this.g = bVar;
            this.h = bVar;
        }

        public a(int i, Fragment fragment, b bVar) {
            this.a = i;
            this.b = fragment;
            this.g = fragment.Q;
            this.h = bVar;
        }
    }

    public void b(a aVar) {
        this.a.add(aVar);
        aVar.c = this.b;
        aVar.d = this.c;
        aVar.e = this.d;
        aVar.f = this.e;
    }

    public p c(Fragment fragment) {
        b(new a(7, fragment));
        return this;
    }

    public abstract void d();

    public abstract p e(Fragment fragment);

    public abstract void f(int i, Fragment fragment, String str, int i2);

    public abstract p g(Fragment fragment);

    public abstract p h(Fragment fragment, b bVar);
}
